QuickOPC User's Guide and Reference
AESubscriptionFilter Constructor(AEEventType,Int64[],Int32,Int32,AENodeDescriptor[],AENodeDescriptor[])



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AESubscriptionFilter Class > AESubscriptionFilter Constructor : AESubscriptionFilter Constructor(AEEventType,Int64[],Int32,Int32,AENodeDescriptor[],AENodeDescriptor[])
Initializes a new instance of the class with given data.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventTypes As AEEventType, _
   ByVal categories() As Long, _
   ByVal lowSeverity As Integer, _
   ByVal highSeverity As Integer, _
   ByVal areas() As AENodeDescriptor, _
   ByVal sources() As AENodeDescriptor _
)
'Usage
 
Dim eventTypes As AEEventType
Dim categories() As Long
Dim lowSeverity As Integer
Dim highSeverity As Integer
Dim areas() As AENodeDescriptor
Dim sources() As AENodeDescriptor
 
Dim instance As New AESubscriptionFilter(eventTypes, categories, lowSeverity, highSeverity, areas, sources)

Parameters

eventTypes
categories
lowSeverity
highSeverity
areas
sources
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also